package sh.wn36.vehiclemanage.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import sh.wn36.vehiclemanage.entity.CarPic;
import sh.wn36.vehiclemanage.mapper.CarPicMapper;
import sh.wn36.vehiclemanage.service.CarPicService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
@Service
public class CarPicServiceImpl extends ServiceImpl<CarPicMapper, CarPic> implements CarPicService {

    @Autowired
    private CarPicMapper carPicMapper;
    @Override
    public CarPic getCarPicByCid(Integer id) {
        return carPicMapper.selectCarPic(id);
    }
}
